/*
  封装 设备树状列表相关请求
 */
import axios from '@/utils/request'

// 定义一个函数并导出
export function findDevices () {
  return axios({
    method: 'get',
    url: '/tDevice/findDevices'
  })
}

export function findReport (params) {
  return axios({
    method: 'post',
    url: '/tEnergy/findReport',
    params
  })
}
